home *** CD-ROM | disk | FTP | other *** search
- Path: gryphon.phoenix.net!usenet
- From: brucew@phoenix.net (Bruce Wedding)
- Newsgroups: comp.lang.c
- Subject: Re: Programming Question
- Date: Mon, 04 Mar 1996 23:59:58 GMT
- Organization: BranPaul Systems
- Message-ID: <4hg06e$7e3@gryphon.phoenix.net>
- References: <1996Mar3.164754.137341@forest>
- NNTP-Posting-Host: dial135.phoenix.net
- X-Newsreader: Moe's Newsreader
-
- In comp.lang.c
- ebromber@forest.drew.edu wrote:
-
- >Below is part of the code for a password program which I wrote. However,
- >wheneve I run the program, the "ENTER PASSWORD HERE" only appears after a
- >carriage return is entered. In other words, I have to type the password in
- >before it prints that message. If I hit return, it accepts that as the
- >password. I wrote this program on a pc and used a MS-DOS compiler. Does
- >anyone know why and how I can fix this?
- > printf("ENTER PASSWORD HERE: ");
- fflush(stdout);
-
- Bruce D. Wedding Have Compiler, Will Travel!
- Perspicacious Programming Performed Promptly
- Katy, Texas, USA, Planet Earth, Milkyway Galaxy, Known Universe
-
-